<%-- 
    Document   : informacionAgencias
    Created on : 06-abr-2012, 1:54:13
    Author     : Daniel
--%>

<%@page import="escom.ipn.modelo.dto.Agencia_Externa"%>
<%@page import="escom.ipn.modelo.delegate.Agencia_ExternaDelegate"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Agencia telefonos</title>
    </head>
    <body>
        hola
        <script type="text/javascript">
<%
        //Agencia_Externa agencia = new Agencia_Externa();
        //Agencia_ExternaDelegate agenciadelegate = new Agencia_ExternaDelegate();
        //agencia = agenciadelegate.mostrarAgencia_Externabyid(Integer.parseInt(request.getParameter("agencia")));
%>    
        $(function(){
            var unique_id = $.gritter.add({
                    // (string | mandatory) the heading of the notification
                    title: '<%=request.getParameter("agencia") %>',
                    // (string | mandatory) the text inside the notification
                    text: 'Telefono 1: <%=request.getParameter("tel1") %> <br>'
                         +'Telefono 2: <%=request.getParameter("tel2") %>',
                    // (string | optional) the image to display on the left
                    sticky: true,

                    image: "../img/informacion.png",
                    // (string | optional) the class name you want to apply to that specific message
                    class_name: 'my-sticky-class'
            });
            return false;
        });
        </script>  
    </body>
</html>
